/**
 * 
 */
package com.xpec.c4.game.common;

import com.xpec.c4.game.utility.GUID;
import com.xpec.c4.service.group.datalayer.IShareGroupData;

/**
 * 登录验证信息
 * 
 * @author lipeilin
 * @2011-3-24 下午03:32:59
 * 
 */
public class LoginVerifyInfo implements IShareGroupData {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6189988726240866565L;

	// 驗證碼主要的變數 ===================================================================
	
	/**
	 * 角色ID
	 */
	private GUID userId;

	/**
	 * 验证码
	 */
	private String verifyCode;

	/**
	 * 目标zone
	 */
	private String destZoneId;

	// 其他拿來參考用的變數 ================================================================
	
	/**
	 * 有效起始時間 (put 到 map理的時間點)
	 */
	private long validStartTime;

	/**
	 * 產生此驗證碼的module名稱
	 */
	private String moduleName;
	
	/**
	 * 產生此驗證碼的threadName;
	 */
	private String threadName;
	
	public LoginVerifyInfo()
	{
	}
	
	public GUID getUserId() {
		return userId;
	}

	public void setUserId(GUID userId) {
		this.userId = userId;
	}

	public String getVerifyCode() {
		return verifyCode;
	}

	public void setVerifyCode(String verifyCode) {
		this.verifyCode = verifyCode;
	}

	public String getDestZoneId() {
		return destZoneId;
	}

	public void setDestZoneId(String destZoneId) {
		this.destZoneId = destZoneId;
	}

	@Override
	public String toString() {
		return "[userId:" + userId + " destZoneId:" + destZoneId
				+ " verifyCode:" + verifyCode + " moduleName:" + moduleName
				+ " threadName:" + threadName + "]";
	}

	public long getValidStartTime() {
		return validStartTime;
	}

	public void setValidStartTime(long validStartTime) {
		this.validStartTime = validStartTime;
	}
	
	public String getModuleName()
    {
	    return moduleName;
    }

	public void setModuleName(String moduleName)
    {
	    this.moduleName = moduleName;
    }

	public String getThreadName()
    {
	    return threadName;
    }

	public void setThreadName(String threadName)
    {
	    this.threadName = threadName;
    }
}
